package com.huqing.icu.service.savestrategy;

import com.huqing.icu.enums.HouseOwnerEnum;
import com.huqing.icu.inout.in.app.HouseAddReq;
import com.huqing.icu.inout.in.app.HouseUpdateReq;
import org.springframework.stereotype.Service;

/**
 * 业主（房东）上传房源
 *
 * @author huqing
 * @date 2024-09-28 21:50
 */
@Service
public class ProprietorsHouseSaveService extends AbstractHouseSaveService {

    @Override
    public boolean judgeHouseOwner(Integer houseOwner) {
        return HouseOwnerEnum.PROPRIETORS.getCode().equals(houseOwner);
    }

    @Override
    public void checkAddReq(HouseAddReq addReq) {
        return;
    }

    @Override
    public Integer insert(HouseAddReq addReq) {
        return null;
    }

    @Override
    public Integer update(HouseUpdateReq updateReq) {
        return null;
    }
}
